package com.ssy.lingxi.purchase.service.feign;

import com.ssy.lingxi.purchase.entity.bidding.Bidding;
import com.ssy.lingxi.purchase.entity.onlinebidding.OnLineBidding;

/**
 * 采购消息内部接口
 * @author yzc
 * @version 2.0.0
 * @date 2021/7/12
 */
public interface IPurchaseMessageFeign {

    /**
     * 发送采购竞价消息
     * @param bidding 采购竞价单
     * @param name 消息模板
     */
    void sendSystemMessageBidding(Bidding bidding, String name);

    /**
     * 发送在线采购竞价消息
     * @param bidding 在线采购竞价单
     * @param name 消息模板
     */
    void sendSystemMessageOnLineBidding(OnLineBidding bidding, String name);
}
